package com.yr.packapkdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.umeng.analytics.MobclickAgent;

public class MainActivity extends AppCompatActivity {
    private TextView mTvChannal;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mTvChannal = (TextView) findViewById(R.id.tv_channel);
        String channal = ChannelUtil.getChannel(this);
        mTvChannal.setText(channal);

    }

    @Override
    protected void onResume() {
        super.onResume();
//        MobclickAgent.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
//        MobclickAgent.onPause(this);
    }
}
